How to display a projectile trajectory in c++? [on hold]

Posted by sana on Game Development See other posts from Game Development or by sana
Published on 2014-05-30T12:07:09Z Indexed on 2014/05/30 22:12 UTC
Read the original article Hit count: 196

Filed under:

I am trying to make a game of Gorillas in c++ whose specification is somewhat like....... is : "In this game both players should select their position on a level scaled ground. Scale of the ground should be from 0 to 20 divisions, each division corresponding to 10 meters. Each player will enter an angle and initial velocity (limits of both should be defined) and the player will hurl a stone with this velocity at given angle. Stone will make a projectile and if it hits the other player then shooting player wins. A random effect of air should also be incorporated. Air will support one player and resist other. Velocity of air should be generated randomly, within some limits, and subtracted or added in the horizontal velocity of the stone. An arrow of suitable length shall represent air direction and velocity. The player who hits first wins." How do I display the trajectory of the stone????

© Game Development or respective owner

Related posts about c++